/**
 * Alternative style for Adminer.
 *
 * Klemens Häckel [http://clickdimension.wordpress.com/]
 *
 * new remaster based on style for WT-NMP 13.12
 *
 * Created by Miroslav Pokorný [http://fuch.cz].
 * Icons by Yusuke Kamiyamane [http://p.yusukekamiyamane.com/] (some of them were modified).
 * Slightly inspired by themes created by Martin Hořínek and Klemens Häckel.
 *
 * updated 2018-02 by Jan [http://cloux.org]
 *  - fixes and usability improvements for Adminer 4.6.1
 *
 */

/*** Fonts ***/
/*
 * @import url(http://fonts.googleapis.com/css?family=Ubuntu:300&subset=latin,latin-ext);
@import url(http://fonts.googleapis.com/css?family=Ubuntu+Mono&subset=latin,latin-ext);
*
* */

* {
	/* font-family: 'Ubuntu', sans-serif */
	/* font-family: Verdana;  font name */
	font-family: Verdana,Arial,Helvetica,sans-serif;
}
textarea, pre, code, samp, kbd, var {
	font-family: 'Ubuntu Mono', Consolas, 'Courier New', monospace;
}
/*** Icons ***/
/* Error message */
html>/**/body .error {
	background: #FFEEEE url("") no-repeat 0.8em center;
	padding-left: 38px;
}
/* Ok message */
html>/**/body .message, html>/**/body #menu p.message {
	background: #EEFFEE url("") no-repeat scroll 0.8em center; padding-left:38px;
}

/* Adminer logo */
html>/**/body h1 {
	background: #eee;
	box-shadow: 0px 0px 3px rgba(0,0,0,0.30) !important;
	font-size: 1em;
	padding: 7px 6px 5px 35px;
	position:fixed;
	width: 100%;
	height: 22px;
	line-height: 22px;
}
/* Logout */
html>/**/body input[name="logout"], #logout {
	background: transparent url("") no-repeat 8px 4px;
	color: #555555;
	border: none;
	cursor: pointer;
	height: 22px;
	position: absolute;
	right: 8px;
	text-indent: 0px;
	top: 6px;
	width: 120px;
	position:fixed;
	z-index: 10;
}
html>/**/body input[name="logout"]:hover, #logout:hover {
	color: #444444;
	text-shadow: 1px 1px 1px #888888;
}

/*** "Alter table" picture ***/
html>/**/body table a[href*="&create="],
html>/**/body #content p.links a[href*="&create="] {
	background: url("") no-repeat 0px 0px;
	padding: 0px 0px 3px 22px;
}
/*** "Alter index" picture ***/
html>/**/body #content table a[id|="Index_length"],
html>/**/body #content p.links a[href*="&indexes="] {
	background: url("") no-repeat 0px 0px;
	padding: 0px 0px 3px 22px;
}
/*** "Create table" picture ***/
html>/**/body a[href$="&create="],
html>/**/body #content p.links a[href$="&create="] {
	background: url("") no-repeat 0px 2px;
	padding: 4px 0px 0px 22px;
}

/*** Menu Links ***/
/* Fix size */
html>/**/body #menu .links {
}
/* Sql command */
html>/**/body #menu p.links a[href$="&sql="] {
	background: transparent url("") no-repeat 0px 0px;
	padding: 3px 0px 0px 22px;
}
/* Import */
html>/**/body #menu p.links a[href$="&import="] {
	background: transparent url("%0AbWFnZVJlYWR5ccllPAAAAnRJREFUeNqMU72PElEQ/%2B1HWHZhgYPjkiMWxoLkaChMzgoJ0JhwlsTK%0AhsKQmFxjT4ImxL/AxOSKS/wPXAs7Q%2BEHqO0VXElAkc89BA7c3ee8PY5w5xVOMjvvzXszb%2BY3vxUK%0AhQJW8pB0F/8nP0gNvpAvPYvFYvfo6Oj1dDrFfD6HZdno9X7T2oHXq0LXdQQCAQSDAZRKj55KkuTG%0AyScnJ0gkEu7GsizU63VMJhOEwxHMZgznCwc%2Bnw7LtiBKIjSfeqUUkSeo1Wprx2AwQCaTgWmOKeES%0AjHxMcC4UF7opvIVCr9e7ZRgGstms6%2Bz3%2B9jfv4ePn%2BoU6KUgtgq2Xb2SQBCEO6enpy83nY7jYDQa%0AIbylo91u42e7Cb/fT/0H0Ww239OVb5d3BQLjMdnbfFOpVJ5zm8vlEIls4/OXr1D9W9AJOL/uQ5BA%0A5EAeloocxFcuBqRvotHoi3w%2B3y0Wi1gul6A9DOMtzmk9MIfoDroYkZ1Mz/DHWlwFcW9vD6lUau2I%0ARCI4Pj6mJDtQNW3duyPYN2PAE2xKOp12J8F50B2ONyZASVZ6fQqX8r1arb5LJpMHHMTZbLZKZBGR%0AvBgSiH0C0bgGoswvr5C/Wy6XDzaZ%2BIsqMOdTyIoIn18lAHXcz%2BcePHtyaND0Gm6CVquFUCjEwWP8%0ANdM01y93aZTmcgpF8yDEAhBlBk1TQI/YoihiPB5DbjQaiMfjUBRFvvm/Yf8wkR6QeJXEHxcDlcih%0Ax2IxTZZllywej8dtQVJUaOdnEBXBbUHTVEiyyJmqdjqdHYqdCPQJk8ZUVc0wxrZtm0bFmEsyriT8%0AA14yWcbXdN6jCj7QeeevAAMALZ84sPgoxOsAAAAASUVORK5CYII%3D%0A") no-repeat 0px 0px;
	padding: 0px 0px 2px 22px;
}
/* Export */
html>/**/body #menu p.links a[href*="&dump="]  {
	background: url("") no-repeat 0px 0px;
	padding: 2px 0px 0px 22px;
}
/* Create table */
html>/**/body #menu p.links a[href$="&create="] {
	display: none; /* 'Create table' is now available only when database is displayed, below the list of tables */
}
/* Menu + Table - Select data */
html>/**/body .links a[href*="&select="],
html>/**/body #menu li a[href*="&select="],
html>/**/body #content form table thead>tr>td a[href*="&select="],
html>/**/body #content table a[id|="Rows"] {
	background: url("") no-repeat 1px 0px;
}
html>/**/body #menu ul li {
	height: 19px;
}
html>/**/body #menu li a[href*="&select="] {
	float: left;
	width: 0px;
	height: 18px;
	margin-left: -2px;
	margin-right: 2px;
	overflow: hidden;
	padding-left: 18px;
	text-decoration: none;
}
html>/**/body #menu li a[href*="&select="]:link:hover {
	background-color: #83D0E9;
}

/* Menu - Show structure */
html>/**/body #menu li a[href*="&table="] {
	width: 280px;
	float: left;
}
/* Hide "new version" link in the top bar */
/*
html>body #menu h1 a#version {
	display: none;
}
*/

/*** Tables and views ***/
/* set default alignment to left */
html>/**/body #content td {
	text-align: left;
}
/* header sorting popup onmouseover */
html> body #content form table thead span.column {
	background: #ddd;
	width: 60px;
	height: 30px;
	margin-left: -60px;
	margin-top: 30px;
	padding: 0px 0px 0px 0px;
	box-shadow: 0px 0px 4px rgba(0,0,0,0.40) !important;
}
html> body #content form table thead span.column > a.text {
	position: relative;
	width: 30px;
	height: 30px;
	font-size: 150%;
	float: left;
	margin-left: 0px;
	padding: 4px 0px 0px 0px;
	text-align: center;
}
html>/**/body #content th a[href*="&db="],           /* Databases and Table column */
html>/**/body #content td a[href*="&view="],         /* Alter view */
html>/**/body #content td a[href*="&select="],       /* Select view */
html>/**/body #content table a[href*="&table="],     /* Show structure */
html>/**/body #content table td a[href*="&edit="][href*="&where"] { /* Modify single rows (without icon, after executing SQL) */
	float: left;
	width: 100%;
	height: 17px;
	padding: 5px 3px 0px 0px;
}
html>/**/body #content table a[id|="Data_length"],    /* Alter table (Data Length) */
html>/**/body #content table a[id|="Index_length"],   /* Alter indexes (Index Length) */
html>/**/body #content table a[id|="Data_free"],      /* New item (Data Free) */
html>/**/body #content table a[id|="Auto_increment"], /* Alter Table (Auto Increment) */
html>/**/body #content table a[id|="Rows"] {          /* Select data (Rows) */
	float: left;
	width: 100%;
	height: 100%;
	padding: 2px 0px 1px 22px;
	margin-right: 5px;
}
/* Edit,modify row (pen icon) */
html>/**/body #content form table thead>tr>td a[href$="&modify=1"],
html>/**/body #content form table a[href*="&edit="][href*="&where"] {
	background: url("") no-repeat 3px 3px;
}
/* Modify rows together (icon in table header) */
html>/**/body #content form table thead>tr>td a[href$="&modify=1"],
html>/**/body #content form table thead>tr>td a[href*="&select="] {
	display: inline-block;
	width: 0px;
	height: 20px;
	margin-top: 4px;
	overflow: hidden;
	padding: 2px 0px 0px 24px;
	float: none;
}
/* Modify single rows (icon in each row) */
html>/**/body #content table a.edit[href*="&edit="][href*="&where"] {
	display: inline-block;
	width: 0px;
	height: 19px;
	overflow: hidden;
	padding: 2px 0px 0px 24px;
	float: none;
}
/* Sort table by X when clicking on header */
html>/**/body #content table a[href*="&order"] {
	float: left;
	width: 100%;
	height: 20px;
	padding-top: 8px;
}
/** hide useless headers, they take too much space **/
/* hides: 'Tables and views', 'Routines', 'Events' */
html>/**/body #content h3#tables-views,
html>/**/body #content h3#routines,
html>/**/body #content h3#events {
	display: none;
}
/** resize useful headers **/
html>/**/body #content h3#indexes,
html>/**/body #content h3#foreign-keys,
html>/**/body #content h3#triggers {
	font-size: 1em;
	font-weight: bold;
}
/* Create table */
html>/**/body #content a[href$="&create="] {
	position: relative;
	top: 2px;
}
/* Create view */
html>/**/body #content a[href$="&view="] {
	background: url("") no-repeat scroll 2px bottom; padding-left:22px;
	padding: 2px 0px 0px 22px;
	position: relative;
	top: 2px;
}
/* Create new database */
html>/**/body #content a[href*="&database="] {
	background: url("") no-repeat 0px 0px;
	padding: 3px 0px 0px 22px;
}
/* Privileges */
html>/**/body #content a[href*="&privileges="] {
	background: url("") no-repeat 2px 0px;
	padding: 3px 0px 0px 22px;
}
/* Process list */
html>/**/body #content a[href*="&processlist="] {
	background: url("") no-repeat 0px 0px;
	padding: 3px 0px 0px 22px;
}
/* Variables */
html>/**/body #content a[href*="&variables="] {
	background: url("") no-repeat 2px 0px;
	padding: 3px 0px 0px 22px;
}
/* Status */
html>/**/body #content a[href*="&status="] {
	background: url("") no-repeat 2px 0px;
	padding: 2px 0px 0px 22px;
}
/* Alter database */
html>/**/body #content a[href*="&database="][href*="&db="] {
	background: url("") no-repeat 0px 4px;
	padding: 5px 0px 5px 22px;
}
/* Database schema */
html>/**/body #content a[href*="&schema="] {
	background: url("") no-repeat left -2px;
	float: left;
	padding-left: 22px;
}
/* Refresh */
html>/**/body #content a[href*="&refresh="] {
	background: url("") no-repeat 2px 0px;
	padding: 2px 0px 4px 22px;
	height: 18px;
}
/* Show structure */
html>/**/body .links a[href*="&table="] {
	background: url("") no-repeat 0px 0px;
	padding: 1px 0px 3px 22px;
}
/* Select data */
html>/**/body .links a[href*="&select="] {
	padding: 1px 0px 1px 22px;
}
/* Edit Sql */
html>/**/body #content a[href*="&sql="] {
	background: url("") no-repeat 0px 0px;
	margin-left: 10px;
	padding-left: 22px;
}
/* Inline plus */
html>/**/body #content .icon-plus {
	background: url("") no-repeat left center;
	height: 16px;
}
/* Inline up */
html>/**/body #content .icon-up {
	background: url("") no-repeat left center;
	height: 16px;
}
/* Inline down */
html>/**/body #content .icon-down {
	background: url("") no-repeat left center;
	height: 16px;
}
/* Inline cross */
html>/**/body #content .icon-cross {
	background: url("") no-repeat left center;
	height: 16px;
}
/* Delete */
html>/**/body input[name="delete"],
html>/**/body input[name="drop"] {
	background: transparent url("") no-repeat 0px 0px;
	border: 0;
	cursor: pointer;
	padding: 1px 5px 1px 22px;
	margin-left: 20px;
}
html>/**/body input[name="delete"]:hover, html>/**/body input[name="drop"]:hover {
	background-image: url("");
	color: red;
	text-shadow: 1px 1px 1px #ef7a7a;
}
html>/**/body #content p a[href*="&edit="],       /* New item */
html>/**/body #content table a[id|="Data_free"] { /* New item (Table -> Data Free column) */
	background: url("") no-repeat scroll 0px 0px;
}
/* New item */
html>/**/body #content p a[href*="&edit="] {
	padding: 1px 0px 1px 22px;
}

/*** Messages ***/
.error {
	border: red 1px solid;
}
.message {
	border: green 1px solid;
}
.error, .message {
	margin: 1em 0 0 0;
}

/*** Content ***/
#breadcrumb {
	background: transparent;
	font-size: 1em;
	margin-left: 0em;
	padding-top: 5px;
	position:fixed;
	z-index: 10;
	font-weight: bold;
}
#breadcrumb > a[href] {
	font-weight: normal;
}
h2 {
	display: none;
}
#content {
	margin-left: 355px;
}
.tabs {
	margin: 12px auto 10px auto;
}
#form + p {
	margin: 20px 0;
}
#content .jush-bac, .jush-php_bac, .jush-bra, .jush-mssql_bra, .jush-sqlite_quo {
	color: #344a60;
}
#content .jush-num, .jush-clr {
	color: #007000;
}
.sqlarea {
	width: 99%;
}
.jush-sql {
	padding: 1px 2px;
}

/*** Tables ***/
html>/**/body table tbody input[name*="check"] {
	display: block;
	float: left;
}
table {
	border-radius: 2px !important;
	box-shadow: 0px 0px 3px rgba(0,0,0,0.30) !important;
}
thead {
	top: 34px;
}
thead td, thead th {
	background: #eee;
}
table tbody td:first-child {
	white-space: normal;
}
td, th {
	border-color: #bbb;
	border-width: 0 1px 1px 0;
	font-size: 0.83em;   /* x-small;  font size */
}
#logins a, #tables a {
	height: 18px;
	line-height: 18px;
}
code{
	background-color: transparent;
}

/*** Links ***/
a, a:link, a:visited {
	color: #344a60;
	background-color: transparent;
}
a:link:hover, a:visited:hover {
	/*color: #384053;
	text-shadow: 1px 1px 1px #485c7c;*/
	color: #283043;
	text-shadow: 1px 1px 1px #102030;
	text-decoration: none;
}

/*** Sidebar Menu ***/
#h1 {
	color: #222;
	font-style: normal;
}
#menu {
	background-color: #f8f8f8;
	box-shadow: 0px 0px 3px rgba(0,0,0,0.50) !important;
	width: 330px;
	margin: 0;
	top: 0;
	padding-bottom: 0;
}
#menu a {
	background-color: transparent;
}
#menu a:link:hover, a:visited:hover {
	background-color: #e8e8e8;
}

/*** Forms ***/
fieldset {
	background-color: transparent;
	border: 1px solid #f0f0f0;
	border-radius: 5px !important;
}

/*** Others ***/
#lang {
	background: transparent;
	font-size: .9em;
	left: auto;
	right: 120px;
	top: 3px;
	position:fixed;
	z-index: 10;
	padding-top: 2px;
}
.active{
	font-weight: normal;
	color: #283043;
	text-shadow: 1px 1px 1px #102030;
}
p {
	margin: 0.8em 0 0 0;
}

#menu form {
	padding-top: 30px;
}
#menu #logins {
	padding-top: 50px;
}

/*** Floating footer since v4.6.1 ***/
.footer {
	width: 700px;
	background-color: #f8f8f8;
	box-shadow: 0px 0px 3px rgba(0,0,0,0.50) !important;
	margin-top: 10px;
}
.footer>p {
	margin-left: 15px;
}
